package com.example.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.common.b_pojo.Musiccomment;
import org.apache.ibatis.annotations.Mapper;

/**
* @author 111
* @description 针对表【musiccomment】的数据库操作Mapper
* @createDate 2024-08-05 17:50:24
* @Entity com.example.common.b_pojo.Musiccomment
*/
@Mapper
public interface BMusiccommentMapper extends BaseMapper<Musiccomment> {

    int deleteByPrimaryKey(Long id);

    int insert(Musiccomment record);

    int insertSelective(Musiccomment record);

    Musiccomment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Musiccomment record);

    int updateByPrimaryKey(Musiccomment record);

    Page<Musiccomment> selectallComment(Page<Musiccomment> page, String content, Long id);

    int deleteAllbyId(Long id);
}
